package com.lanou.shunke.admin.mapper;


import com.lanou.shunke.admin.entity.*;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    List<AllArticle> selectAllArticle();

    List selectReport();

    List<Article> selectBan();

    List selectByType(int type);

    void banByUid(String articleId);

    void UnsealingByArtId(String articleId);

    List<ArticleClassification> selectType();

    void updateTypeById(int typeId, String typeName);

    List<ArticleComment> selectComment();

    void delComment(String articleCommentId);

    List<AllArticle> selectArticle(String articleId);

    void updateType(int typeId, String typeName);

    List<ArticleReply> showReply();

    void delReplyById(long articleReplyId);

}

